package com.demo.store.service.impl;

import com.demo.store.entity.StoreMain;
import com.demo.store.mapper.StoreMainMapper;
import com.demo.store.service.StoreMainService;
import com.mybatisflex.spring.service.impl.ServiceImpl;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Slf4j
@Service
public class StoreMainServiceImpl extends ServiceImpl<StoreMainMapper,StoreMain> implements StoreMainService {
    @Resource
    private StoreMainMapper storeMainMapper;
    @Override
    public StoreMain getOneStoreMain(Long id) {
        return storeMainMapper.selectOneById(id);
    }

}
